/ Assembly List / LJCNetCommon / DbColumns / Add

Namespace - LJCNetCommon


Parameters
columnName - The column name.
value - The value object.
dataTypeName - The data type name.

Returns

The created DbColumn object.

Syntax

C#
public DbColumn Add(String columnName, Object value, String dataTypeName = String)

Creates the Object from the arguments and adds it to the collection.

Example

C#
using LJCNetCommon;

var dbColumns = new DbColumns();

// Must use (object) with a string value to execute this constructor.
dbColumns.Add("ColumnName", (object)"Value");

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.